<%-- 
    Document   : deleteList
    Created on : 2014-8-4, 16:02:03
    Author     : chensy
--%>
<%@page contentType="text/html; charset=UTF-8" session="false" %>
<%@include  file="/WEB-INF/jspf/import.jspf"%>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" name="searchForm" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tbody>
                    <tr>
                        <td><label>车友会Id：</label><input type="text" name="clubId" value="<c:if test="${clubId>0}">${clubId}</c:if>" class="textInput"></td>
                        <td><label>车友会名称：</label><input type="text" name="name" value="${name}" class="textInput"></td>
                        <td>
                            <div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="pageFormContent" layoutH="100">
        <fieldset>
            <legend>基本信息：</legend>
            <dl class="nowrap">
                <dt>名称(ID)（域名）：</dt>
                <dd>${fn:escapeXml(club.name)} （${fn:escapeXml(club.clubId)}）（${fn:escapeXml(club.clubUrl)}）</dd>
            </dl>
            <dl class="nowrap">
                <dt>LOGO：</dt>
                <dd>${fn:escapeXml(club.logo)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>简介：</dt>
                <dd>${fn:escapeXml(club.introduce)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>QQ群：</dt>
                <dd>${fn:escapeXml(club.qqGroup)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>分区省市：</dt>
                <dd>${fn:escapeXml(club.regionName)} ${fn:escapeXml(club.provinceName)} ${fn:escapeXml(club.cityName)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>品牌车系：</dt>
                <dd>${fn:escapeXml(club.brandName)}  ${fn:escapeXml(club.seriesName)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>创建者：</dt>
                <dd>${fn:escapeXml(club.createBy)}  创建于<fmt:formatDate value='${club.createAt}' pattern='yyyy-MM-dd HH:mm:ss'/></dd>
            </dl>
            <dl class="nowrap">
                <dt>更新者：</dt>
                <dd>${fn:escapeXml(club.createBy)}  更新于<fmt:formatDate value='${club.updateAt}' pattern='yyyy-MM-dd HH:mm:ss'/></dd>
            </dl>
        </fieldset>
        <fieldset>
            <legend>审核信息：</legend>
            <dl class="nowrap">
                <dt>拒绝理由</dt>
                <dd>${fn:escapeXml(club.rejectMsg)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>备注信息</dt>
                <dd>${fn:escapeXml(clubDispose.remark)}</dd>
            </dl>
            <dl class="nowrap">
                <dt>状态</dt>
                <dd>${fn:escapeXml(statusDesc.get(club.status))}</dd>
            </dl>
            <dl class="nowrap">
                <dt>审核时间</dt>
                <dd><fmt:formatDate value='${club.auditAt}' pattern='yyyy-MM-dd HH:mm:ss'/></dd>
            </dl>
            <dl class="nowrap">
                <dt>审核人</dt>
                <dd>${fn:escapeXml(club.auditBy)}</dd>
            </dl>
        </fieldset>
        <fieldset>
            <legend>排名统计：</legend>
            <dl class="nowrap">
                <dt>总油值（等级）：</dt>
                <dd>${fn:escapeXml(club.totalPetrol)}（${fn:escapeXml(level.levelName)}）</dd>
            </dl>
            <dl class="nowrap">
                <dt>会员（认证）人数：</dt>
                <dd>${fn:escapeXml(club.memberNum)} （${fn:escapeXml(club.vipNum)}）</dd>
            </dl>
            <dl class="nowrap">
                <dt>全国（品牌）（省份）排名：</dt>
                <dd>${fn:escapeXml(club.rank)} （${fn:escapeXml(club.brandRank)}）（${fn:escapeXml(club.provinceRank)}）</dd>
            </dl>
            <dl class="nowrap">
                <dt>主题帖（留言）数：</dt>
                <dd>${fn:escapeXml(club.topicNum)}（${fn:escapeXml(club.replyNum)}）</dd>
            </dl>
        </fieldset>
        <fieldset>
            <legend>收货地址：</legend>
            <dl class="nowrap">
                <dt>收件人（联系方式）：</dt>
                <dd>${fn:escapeXml(clubAddress.name)}（${fn:escapeXml(clubAddress.phone)}）</dd>
            </dl>
            <dl class="nowrap">
                <dt>邮寄地址（邮编）：</dt>
                <dd>${fn:escapeXml(clubAddress.provinceName)}${fn:escapeXml(clubAddress.cityName)}${fn:escapeXml(clubAddress.address)}（${fn:escapeXml(clubAddress.postcode)}）</dd>
            </dl>
        </fieldset>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent"><button type="button" onclick="return deleteClub();">删除</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent"><button type="button" class="close">取消</button></div>
                </div>
            </li>
        </ul>
    </div>
</div>
<script>
    function deleteClub(){
        alertMsg.confirm("此删除不可恢复，请慎重，确定要继续删除吗？", {
            okCall: function(){
                $.post("${ctx}/admin/club/deleteClub.do?clubId=${club.clubId}", {}, function(obj){
                    navTabAjaxDone(obj);
                }, "json");
            }
        });
    }
</script>
